<template>
    <div>
        <h4>姓名：{{ name }}</h4>
        <h4>年龄：{{ age }}</h4>
        {{ propA }}
        <slot></slot>
        <slot name="qwe"></slot>
    </div>
</template>

<script>
export default {
    name: 'Demo',
    //props: ["propA", "propB"],
    beforeCreate() {
        console.log(this)
    },
    data() {
        return {
            name: '张三',
            age: 66
        }
    }
}
</script>